<!DOCTYPE html>
<html lang="zh-cn">
 <head>
 <meta charset="utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
 <meta name="keywords" content="{dede:field name='keywords'/}" />
 <meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
 <meta name="applicable-device"content="pc,mobile">
 <link href="/style/Public/css/bootstrap.css" rel="stylesheet">
 <link href="/style/Home/Tpl/default/Public/css/bxslider.css" rel="stylesheet">
 <link href="/style/Home/Tpl/default/Public/css/style.css" rel="stylesheet">
 <script src="/style/Public/js/jquery.min.js"></script>
 <script src="/style/Home/Tpl/default/Public/js/bxslider.min.js"></script>
 <script src="/style/Home/Tpl/default/Public/js/common.js"></script>
 <script src="/style/Public/js/bootstrap.js"></script>
 <!--[if lt IE 9]>
 <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
 <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
 <![endif]-->
 <SCRIPT language=javaScript>
  function CheckJob()
  {
   if (document.myform.title.value.length==""){
    alert ("留言标题不能为空！");
    document.myform.title.focus();
    return false;
   }
   if (document.myform.name.value.length==""){
    alert ("姓名不能为空！");
    document.myform.name.focus();
    return false;
   }
   if (document.myform.tel.value.length==""){
    alert ("电话不能为空！");
    document.myform.tel.focus();
    return false;
   }
  }
 </SCRIPT>
 </head>
 <body>
{dede:include filename="head.htm"/} 
<div class="page_bg" style="background: url(/style/Home/Tpl/default/Public/images/5780c309432c5.jpg) center top no-repeat;"></div>
<!-- main -->
<div class="container">
   <div class="row"> 
    
    <!-- right -->
    <div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
       <div class="list_box">
        <h2 class="left_h2">在线留言</h2>
        <div class="feedback">
           <form id="myform" name="myform" class="form-horizontal" action="/plus/diy.php" enctype="multipart/form-data" method="post" onSubmit="return CheckJob()">
            <input type="hidden" name="action" value="post" />
            <input type="hidden" name="diyid" value="1" />
            <input type="hidden" name="do" value="2" />
            <div class="form-group">
               <label for="title"class="col-sm-3 control-label">留言标题：</label>
               <div class="col-sm-6">
                <input type="text" name="title" class="form-control" id="title" placeholder="必填">
              </div>
             </div>
            <div class="form-group">
               <label for="username" class="col-sm-3 control-label">您的姓名：</label>
               <div class="col-sm-6">
                <input type="text" name="name" class="form-control" id="username" placeholder="必填">
              </div>
             </div>
            <div class="form-group">
               <label for="tel" class="col-sm-3 control-label">联系电话：</label>
               <div class="col-sm-6">
                <input type="text" name="tel" class="form-control" id="tel" placeholder="必填">
              </div>
             </div>
            <div class="form-group">
               <label for="inputEmail" class="col-sm-3 control-label">电子邮箱：</label>
               <div class="col-sm-6">
                <input type="email" name="email" class="form-control" id="inputEmail">
              </div>
             </div>
            <div class="form-group">
               <label for="add" class="col-sm-3 control-label">联系地址：</label>
               <div class="col-sm-6">
                <input type="text" name="address" class="form-control" id="add">
              </div>
             </div>
            <div class="form-group">
               <label for="contents" class="col-sm-3 control-label">留言内容：</label>
               <div class="col-sm-6">
                <textarea name="content" class="form-control" rows="3"></textarea>
              </div>
             </div>
            <div class="form-group" style="margin-top:30px;">
               <div class="col-sm-offset-3 col-sm-10">
                <button type="submit" name="button" value="Send" class="btn btn-danger page-btn">提交留言</button>
                &nbsp;
                <button type="reset" name="reset" class="btn btn-default grey-btn">重新填写</button>
              </div>
             </div>
            <input type="hidden" name="dede_fields" value="title,text;name,text;tel,text;email,text;address,text;content,multitext" />
            <input type="hidden" name="dede_fieldshash" value="affc356ff0204af2e43ed53e795d3103" />
          </form>
         </div>
      </div>
     </div>
    
    <!-- left --> 
    {dede:include filename="left.htm"/} </div>
 </div>
{dede:include filename="footer.htm"/}
</body>
</html>